#!/bin/bash

# Program:
#     Program shows the effect of shift function.
# History:
#     2015/08/25    wxb    First release
# Usage:
#     ./sh08.sh one tow three four five sxi

echo "Total parameters number is $#"
echo "Your whole parameter is '$@'"
shift                                   # move to left by 1
echo "Total parameters number is $#"
echo "Your whole paremeter is '$@'"
shift 3                                 # move to left by 3
echo "Total parameters number is $#"
echo "Your whole parameter is '$@'"
